/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _DSI_MI_FEATURE_H_
#define _DSI_MI_FEATURE_H_

enum DISPPARAM_MODE  {
	DISPPARAM_WARM                 = 0x1,
	DISPPARAM_DEFAULT              = 0x2,
	DISPPARAM_COLD                 = 0x3,
	DISPPARAM_PAPERMODE8           = 0x5,
	DISPPARAM_PAPERMODE1           = 0x6,
	DISPPARAM_PAPERMODE2           = 0x7,
	DISPPARAM_PAPERMODE3           = 0x8,
	DISPPARAM_PAPERMODE4           = 0x9,
	DISPPARAM_PAPERMODE5           = 0xA,
	DISPPARAM_PAPERMODE6           = 0xB,
	DISPPARAM_PAPERMODE7           = 0xC,
	DISPPARAM_WHITEPOINT_XY        = 0xE,

	DISPPARAM_CE_ON                = 0x10,
	DISPPARAM_CE_OFF               = 0xF0,

	DISPPARAM_CABCUI_ON            = 0x100,
	DISPPARAM_CABCSTILL_ON         = 0x200,
	DISPPARAM_CABCMOVIE_ON         = 0x300,
	DISPPARAM_CABC_OFF             = 0x400,
	DISPPARAM_SKIN_CE_CABCUI_ON    = 0x500,
	DISPPARAM_SKIN_CE_CABCSTILL_ON = 0x600,
	DISPPARAM_SKIN_CE_CABCMOVIE_ON = 0x700,
	DISPPARAM_SKIN_CE_CABC_OFF     = 0x800,
	DISPPARAM_DIMMING_OFF          = 0xE00,
	DISPPARAM_DIMMING              = 0xF00,

	DISPPARAM_ACL_L1               = 0x1000,
	DISPPARAM_ACL_L2               = 0x2000,
	DISPPARAM_ACL_L3               = 0x3000,
	DISPPARAM_LOW_BRIGHTNESS_FOD   = 0xD000,
	DISPPARAM_FP_STATUS            = 0xE000,
	DISPPARAM_ACL_OFF              = 0xF000,
	DISPPARAM_ROUND_ON             = 0xB000,
	DISPPARAM_ROUND_OFF            = 0xC000,

	DISPPARAM_HBM_ON               = 0x10000,
	DISPPARAM_HBM_FOD_ON           = 0x20000,
	DISPPARAM_HBM_FOD2NORM         = 0x30000,
	DISPPARAM_DC_ON                = 0x40000,
	DISPPARAM_DC_OFF               = 0x50000,
	DISPPARAM_HBM_HDR_ON           = 0x60000,
	DISPPARAM_FOD_UNLOCK_SUCCESS   = 0x70000,
	DISPPARAM_FOD_UNLOCK_FAIL      = 0x80000,
	DISPPARAM_HBM_HDR_OFF          = 0x90000,
	DISPPARAM_HBM_FOD_OFF          = 0xE0000,
	DISPPARAM_HBM_OFF              = 0xF0000,
	DISPPARAM_LCD_HBM_OFF          = 0xA0000,
	DISPPARAM_LCD_HBM_L1_ON        = 0xB0000,
	DISPPARAM_LCD_HBM_L2_ON        = 0xC0000,
	DISPPARAM_LCD_HBM_L3_ON        = 0xD0000,

	DISPPARAM_NORMALMODE1          = 0x100000,
	DISPPARAM_P3                   = 0x200000,
	DISPPARAM_SRGB                 = 0x300000,
	DISPPARAM_SKIN_CE              = 0x400000,
	DISPPARAM_SKIN_CE_OFF          = 0x500000,
	DISPPARAM_DOZE_BRIGHTNESS_HBM  = 0x600000,
	DISPPARAM_DOZE_BRIGHTNESS_LBM  = 0x700000,
	DISPPARAM_DOZE_OFF             = 0x800000,
	DISPPARAM_HBM_BACKLIGHT_RESEND = 0xA00000,
	DISPPARAM_FOD_BACKLIGHT        = 0xD00000,
	DISPPARAM_CRC_OFF              = 0xF00000,

	DISPPARAM_FOD_BACKLIGHT_ON     = 0x1000000,
	DISPPARAM_FOD_BACKLIGHT_OFF    = 0x2000000,
	DISPPARAM_ELVSS_DIMMING_ON     = 0x3000000,
	DISPPARAM_ELVSS_DIMMING_OFF    = 0x4000000,
	DISPPARAM_FLAT_MODE_ON         = 0x5000000,
	DISPPARAM_FLAT_MODE_OFF        = 0x6000000,
	DISPPARAM_DITHER_ON            = 0x7000000,
	DISPPARAM_DITHER_OFF           = 0x8000000,
	DISPPARAM_SET_THERMAL_HBM_DISABLE     = 0xC000000,
	DISPPARAM_CLEAR_THERMAL_HBM_DISABLE   = 0xD000000,

	DISPPARAM_GIR_ON               = 0xE0000000,
	DISPPARAM_GIR_OFF              = 0xF0000000,
};

#endif /* _DSI_MI_FEATURE_H_ */
